<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html >
<html>
	<head>
		<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" media="screen" />
		<link href="css/a11yTree.min.css" rel="stylesheet">
		<link href="css/posAndsite.css" rel="stylesheet" />
		<script type="text/javascript" src="js/base/jquery.js"></script>
		<script type="text/javascript" src="js/plugins/jquery.cookie.js"></script>
		<script type="text/javascript" src="js/plugins/jqModal.js"></script>
		<script type="text/javascript" src="js/plugins/jqDnR.js"></script>
		<script type="text/javascript" src="js/powerFloat/js/jquery-powerFloat.js"></script>
		<script type="text/javascript" src="js/main.js"></script>
		<script type="text/javascript" src="js/SimpleValidate.js"></script>
		<script type="text/javascript" src="js/siteManager.js"></script>
		<script type="text/javascript" src="js/DatePicker.js"></script>
		<jsp:include page="title.jsp"></jsp:include>
	</head>
	<body onload="load()">
		<div class="headdiv"><jsp:include page="head.jsp"></jsp:include></div>
		<div class="zhuti">
			<div class="jingediv"></div>
			<div class="lefterdiv">
				<jsp:include page="menu.jsp"></jsp:include>
			</div>
			<div class="jingediv"></div>
			<div class="righterdiv" id="right">
				<form action="siteManager" method="post" id="myForm">
					<input type="hidden" value="${message}" id="message">
					<input type="hidden" id="author" value="${author}" />
					<div class="sitebar">
						<div class="floatleft div25 defaultheight"></div>
						<span class="sitename font24"> 店铺资料 </span>
						<span class="date font16"> ${datetime } </span>
					</div>
					<div class="widthall">
						<div class="title">
							<div class="floatleft div25"></div>
							<div class="titlename bold font24 top26">
								店铺列表
							</div>
						</div>
						<div class="whitediv font16 em85">
							<div class="divcontent heigthall">
								<div class="em25 widthall"></div>
								<div class="em35 widthall">
									<table>
										<tr>
											<td class="china">
												<select id="country" name="siteDataManagerInfo.countryId"
													class="searchCondition">
													<option value="-1">
														中国
													</option>
												</select>
											</td>
											<td class="lessInterval"></td>
											<td class="area">
												<select id="province" name="siteDataManagerInfo.provinceId"
													class="searchCondition"
													onchange="provinceChanged();search()">
													<option value="-1">
														省
													</option>
												</select>
											</td>
											<td class="lessInterval"></td>
											<td class="city">
												<select id="city" name="siteDataManagerInfo.cityId"
													class="searchCondition" onchange="cityChanged();search()">
													<option value="-1">
														市
													</option>
												</select>
											</td>
											<td class="lessInterval"></td>
											<td class="area">
												<select id="area" name="siteDataManagerInfo.areaId"
													onchange="search()" class="searchCondition">
													<option value="-1">
														区
													</option>
												</select>
											</td>
											<td class="midInterval"></td>
											<td class="siteSqual">
												<select id="square" name="siteDataManagerInfo.square"
													class="searchCondition" onchange="search();getFloors()"
													value="${siteDataManagerInfo.square}">
													<c:forEach items="${squareList}" var="square">
														<c:choose>
															<c:when
																test="${square.siteid eq siteDataManagerInfo.square}">
																<option value="${square.siteid}" selected="selected">
																	${square.sitename}
																</option>
															</c:when>
															<c:otherwise>
																<option value="${square.siteid}">
																	${square.sitename}
																</option>
															</c:otherwise>
														</c:choose>
													</c:forEach>
												</select>
											</td>
											<td class="lessInterval"></td>
											<td class="siteFloor">
												<select id="floor" name="siteDataManagerInfo.floor"
													onchange="search()" class="searchCondition">
													<option value="-1">
														全部楼层
													</option>
												</select>
											</td>
											<td class="longInterval"></td>
											<td class="floatright">
												<div class="floatright searchborder lineh35">
													<div class="floatleft" style="width: 83%">
														<input type="text" name="siteDataManagerInfo.siteName"
															id="siteName" value="${siteDataManagerInfo.siteName}"
															class="widthall" placeholder="${lang.guanjianzitip }" />
													</div>
													<div class="floatleft heigthall" style="width: 15%">
														<img onclick="search()"
															src="images/research.png"
															style="width: 80%; height: 80%; vertical-align: middle" />
													</div>
												</div>
											</td>
										</tr>
									</table>
								</div>
								<div class="em20 widthall"></div>
							</div>
						</div>
						<div class="widthall szjiange"></div>
						<div id="umlist" class="whitediv umlist">
							<div class="divcontent heigthall">
								<div class="em25 widthall"></div>
								<div class="widthall">
									<table id="myTable" class="indextable xyliebiao widthall"
										style="text-align: center !important">
										<tr style="height: 3.2em">
											<th>
												${lang.siteId }
											</th>
											<th>
												${lang.storeName }
											</th>
											<th>
												${lang.area }（m<sup>2</sup>）
											</th>
											<th>
												${lang.staffNo }（人）
											</th>
											<th>
												${lang.status }
											</th>
											<th>
												${lang.shopLocation }
											</th>
											<th>
												${lang.operation }
											</th>
										</tr>
									</table>
								</div>
								<div class="em45 widthall">
									<div class="mt5em em35 lineh35">
										<div id="divfanye" class="floatright fenye">
											<div id="leftFY" onclick="gotopage(2)"
												class="floatleft fyjiantou">
												<img src="images/fanye2_left.png" />
											</div>
											<input type="hidden" id="gotoPage">
											<div class="floatleft fyyeshu">
												<span id="curpage"></span>/
												<span id="allpage"></span>
											</div>
											<div id="rightFY" onclick="gotopage(1)"
												class="floatleft fyjiantou">
												<img src="images/fanye2_right.png" />
											</div>
											<div class="floatleft">
												<input type="text" class="skipinput" id="txtpages" />
											</div>
											<div onclick="gotopage(3)" class="floatleft fywenzi">
												跳转
											</div>
											<div class="cleardiv">
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					<div id="divtips" style="display: none"></div>
				</form>
			</div>
		</div>
		<div class="cleardiv">
		</div>
		<jsp:include page="footer.jsp"></jsp:include>
	</body>

</html>